package hpu.e4_demo.service;

import hpu.e4_demo.common.Result;
import hpu.e4_demo.entity.TUsers;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表（登录时查询） 服务类
 * </p>
 *
 * @author FFF
 * @since 2025-06-21
 */
public interface ITUsersService extends IService<TUsers> {

    Result<List<TUsers>> findAll();

    Result<String> add(TUsers tUsers);



    Result<Map<String, Object>> login(String userName, String password , String role);



}
